//面试05.06
int convertInteger(int A, int B)
{
    unsigned int ans =A^B;
    int ret=0;
    while(ans)
    {
        ans=ans&(ans-1);
        ret++;
    } 
return ret;
}